cannot convert string to generic type c#

61

cannot convert string to generic type c# -

T newT1 = (T)(object)"some text";
string newT2 = (string)(object)t;

Comments

Submit
0 Comments